<div id='leftcol'>
	
		<?php echo link_to('Manage Products', array('controller' => 'staff', 'action' => 'product')); ?>
		<br />
		<?php echo link_to('Manage Playgroundequipment', array('controller' => 'staff', 'action' => 'playgroundEquipment')); ?>
	
</div>
<div id='rightcol'>

</div>
<div id='centercol'>

	<h2>All Customers</h2>


	<?php render_in_table_advanced($this->users, 'staff', 'customer', array('created_at', 'created_by', 'updated_at', 'updated_by')); ?>


	<h3><?= ($_GET['id']) ?  "Edit Customer" : "New Customer"; ?></h3>
	<?php

		start_form_tag('staff/customer/' . $_GET['id']);
		render_form_for_advanced('user', array('title','first_name','last_name','email','primaryphone','hphone','wphone','cphone','company_name','address_line_1','address_line_2','address_line_3'));
		($_GET['id']) ? submit_tag('Edit') : submit_tag('New');
		end_form_tag();
	?>

</div>

